package com.dly.blog.domain.dto;

import com.dly.blog.domain.ro.PageRO;
import lombok.Data;

import java.util.List;

@Data
public class FlyResDto {

    private Header header;

    private Payload payload;

    @Data
    public static class Header{
        private String code;
        private String message;
        private String sid;
        private Integer status;
    }

    @Data
    public static class Payload{
        private Choices choices;
    }

    @Data
    public static class Choices{

        private Integer status;

        private Integer seq;

        private List<Text> text;

    }

    @Data
    public static class Text{
        private String content;
        private String role;
        private String index;
    }
}
